package com.easyfile.easyfilemaster.entity.dto;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author chenpeman
 * @date 2022年05月29日 13:07
 */
@Data
public class SaveShareFilesDto {
    private Long UserId;
    @NotBlank(message = "请输入分享密匙")
    private String shareKey;
    @NotNull(message = "文件夹ID不能为空")
    @Min(value = 1000000000000000000L,message = "文件夹ID不正确")
    private Long folderId;
}
